const fs = require('fs');
// let rs = fs.createReadStream('../base64.txt');
// rs.on('data',(res)=>{
//     console.log(res)
// })
// rs.on('end',()=>{
//     console.log('end')
// })
// rs.on('error',(err)=>{
//
// });
let ws = fs.createWriteStream('../ldm.txt','utf-8');
ws.write('i am ldm aaaaaa');
ws.end(()=>{
    console.log('写入完毕')
})
